home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / Skinny3DSample / ValueControls ƒ / ValueControls.h < prev   
Encoding:
C/C++ Source or Header  |  1996-05-21  |  599 b   |  17 lines  |  [TEXT/MPS ]

  1. #ifndef _VALUECTL_
  2. #define _VALUECTL_
  3.  
  4. typedef    struct ValueCtlCluster *VccPtr; // ValueCtlCluster is opaque (private)
  5.  
  6.  
  7. VccPtr    NewVCluster(long tag, Str255 title, long numEntries, Rect *bounds);
  8. void    AddValueCtl(VccPtr vcc, Str255 title, float initV, float mini, float maxi, float delta);
  9. void    AddSeparator(VccPtr vcc);
  10. void    DisposeVCluster(VccPtr    vcc);
  11. void    DrawVCluster(VccPtr    vcc);
  12. float    GetCurrentValue(VccPtr vcc, long index);
  13. void    SetResetValue(VccPtr vcc, long index, float value);
  14. OSType    GetIdTag(VccPtr    vcc);
  15. Boolean    TakeHit(Point clickPt, VccPtr vcc); // true if change in vcc data
  16.  
  17. #endif